[javascript]Where are all functions in IE?
Posted
by user339865
on Stack Overflow
See other posts from Stack Overflow
or by user339865
Published on 2010-05-20T16:07:42Z
Indexed on
2010/05/20
16:20 UTC
Read the original article
Hit count: 123
JavaScript
|ie
If i want to take all functions and variables declared in my program in firefox i just iterate 'window' object. For example if i have var a=function() {}; i can use a(); or window.a(); in firefox, but not in IE. I have function iterating window object and writing all function names declared in program like that:
for (smthng in window) {
document.write(smthng);
}
works in FF, in IE there are some stuff but nothing i declare before. Any ideas?
© Stack Overflow or respective owner